package com.example.pomelo_home.dto;

import java.sql.Date;

public class ActivityDTO {
    private Integer activityId;
    private String title;
    private Double price;
    private Date startTime;
    private Date endTime;
    private String address;
    private String posterUrl;
    private String activityType;
    private Integer maxParticipants;
    private Integer organizerId;
    private String status;
    private String description;
    private Integer page;
    private Integer size;

    public ActivityDTO() {
    }

    public ActivityDTO(Integer activityId, String title, Double price, Date startTime, Date endTime, String address, String posterUrl, String activityType, Integer maxParticipants, Integer organizerId, String status, String description, Integer page, Integer size) {
        this.activityId = activityId;
        this.title = title;
        this.price = price;
        this.startTime = startTime;
        this.endTime = endTime;
        this.address = address;
        this.posterUrl = posterUrl;
        this.activityType = activityType;
        this.maxParticipants = maxParticipants;
        this.organizerId = organizerId;
        this.status = status;
        this.description = description;
        this.page = page;
        this.size = size;
    }

    @Override
    public String toString() {
        return "ActivityDTO{" +
                "activityId=" + activityId +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", address='" + address + '\'' +
                ", posterUrl='" + posterUrl + '\'' +
                ", activityType='" + activityType + '\'' +
                ", maxParticipants=" + maxParticipants +
                ", organizerId=" + organizerId +
                ", status='" + status + '\'' +
                ", description='" + description + '\'' +
                ", page=" + page +
                ", size=" + size +
                '}';
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPosterUrl() {
        return posterUrl;
    }

    public void setPosterUrl(String posterUrl) {
        this.posterUrl = posterUrl;
    }

    public String getActivityType() {
        return activityType;
    }

    public void setActivityType(String activityType) {
        this.activityType = activityType;
    }

    public Integer getMaxParticipants() {
        return maxParticipants;
    }

    public void setMaxParticipants(Integer maxParticipants) {
        this.maxParticipants = maxParticipants;
    }

    public Integer getOrganizerId() {
        return organizerId;
    }

    public void setOrganizerId(Integer organizerId) {
        this.organizerId = organizerId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
